package com.geese.module.wechat.dao;

import com.geese.common.entity.WithdrawAccount;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by huweiwei on 2017/3/31.
 */
public interface WithdrawAccountMapper {

    void insertAccount(WithdrawAccount withdrawAccount);

    int updateAccount(WithdrawAccount withdrawAccount);

    List<WithdrawAccount> findByUserId(@Param("userId") Integer userId);

    WithdrawAccount findById(@Param("id") Integer id);

    int deleteAccount(@Param("id") Integer id);

}
